package mytask.model;

import mytask.domain.TranslationManager;

public enum UserRole {
	OWNER(TranslationManager.get("userrole.owner")), 
	MEMBER(TranslationManager.get("userrole.member")), 
	WAITING(TranslationManager.get("userrole.waiting")), 
	REJECTED(TranslationManager.get("userrole.rejected"));
	
	private final String displayName;
	
	private UserRole(final String displayName) {
	    this.displayName = displayName;
	}
	
	public String toString() {
	    return displayName;
	}
}